<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/10/24
  Time: 11:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script src="/static/js/jquery-3.1.1.js"></script>
<script src="/static/js/jqueryqr.js"></script>
<script src="/static/js/qrcode.js"></script>

<div class="portlet light">

    <div class="portlet-body table-responsive">
        <%--<img id="imgLogo" src="/images/headImage/h2.jpg" hidden>--%>
        <div id="container">
            <canvas width="400" height="400"></canvas>
        </div>
    </div>
</div>
<script>

    $(document).ready(function () {
        var str = "${userId}";
       //var url =  "https://zhsq.lianxinyi.com.cn:18445/onSitePayController/sweepCode?parkId="+str;//跳页
       var url =  "http://pingjia.lianxinyi.com.cn:8080/app/users/sweepCode?userId="+str;//跳页
        //初始化页面
        $("#container").erweima({
                text:url,
                mode: 0,
                mSize: 40,
            }
        );

    });
</script>